home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- repeat with x = 3 to 5
- if rollOver(x) then
- set the cursor of sprite x to [565, 566]
- end if
- end repeat
- go(the frame)
- end
-
- on keyDown
- global giVid2Sprite, giVidSprite, giTempVid2Cast, giTempVidCast
- set tempSprite to 0
- if the visible of sprite giVid2Sprite = 1 then
- set tempSprite to giVid2Sprite
- set tempCast to giTempVid2Cast
- else
- if the visible of sprite giVidSprite = 1 then
- set tempSprite to giVidSprite
- set tempCast to giTempVidCast
- end if
- end if
- if tempSprite then
- set the sound of cast tempCast to 0
- if the keyCode = 123 then
- set the movieRate of sprite tempSprite to -1
- else
- if the keyCode = 124 then
- set the movieRate of sprite tempSprite to 1
- end if
- end if
- end if
- end
-
- on keyUp
- global giVid2Sprite, giVidSprite
- set tempSprite to 0
- if the visible of sprite giVid2Sprite = 1 then
- set tempSprite to giVid2Sprite
- else
- if the visible of sprite giVidSprite = 1 then
- set tempSprite to giVidSprite
- end if
- end if
- if ((the keyCode = 123) or (the keyCode = 124)) and tempSprite then
- set the movieRate of sprite tempSprite to 0
- end if
- end
-